<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Page</title>
    <style>
        body {
            margin: 0;
            padding: 0;
        }

        .container {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .content {
            flex: 1;
            /* 这里是页面主要内容 */
        }

        .footer {
            background: lightgray;
            padding: 20px;
            /* 这里是页脚样式 */
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="content">
            <!-- 这里是页面的主要内容 -->
            <h1>Welcome to My Page</h1>
            <p>This is the content of my page.</p>
        </div>
        <div class="footer">
            <!-- 这里是页脚内容 -->
            <p>This is the footer of my page.</p>
        </div>
    </div>
</body>
</html>